Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / ISupportRangeEditing<T> Interface / InsertRangeAsync Method
The index where the item will be inserted.
The items to be inserted.
The cancellation token.

In This Topic
    InsertRangeAsync Method (ISupportRangeEditing<T>)
    In This Topic
    Inserts the specified items at the specified startingIndex in the collection.
    Syntax
    'Declaration
     
    
    Function InsertRangeAsync( _
       ByVal startingIndex As Integer, _
       ByVal items As IEnumerable(Of T), _
       Optional ByVal cancellationToken As CancellationToken _
    ) As Task(Of Integer)

    Parameters

    startingIndex
    The index where the item will be inserted.
    items
    The items to be inserted.
    cancellationToken
    The cancellation token.
    See Also